<template>
    <div>
        <van-swipe class="my-swipe" :autoplay="1000" indicator-color="white">
            <van-swipe-item v-for='item in swiperArr' :key="item.bannerid">
                <img :src="item.img" alt="">
            </van-swipe-item>
        </van-swipe>
    </div>
</template>

<script>
export default {
    data() {
        return {
        }
    },
    props: ['swiperArr']
}
</script>
<style lang="less" scoped>
.van-swipe-item {
    img {
        width: 100%;
    }
}
</style>